package com.zuxia.entity;


public class Staff implements java.io.Serializable {

	// Fields

	private Integer staffId;
	private Posit posit;
	private String staffName;
	private String staffPhone;
	private String staffCarid;
	private String staffSex;

	// Constructors

	/** default constructor */
	public Staff() {
	}

	/** minimal constructor */
	public Staff(Posit posit, String staffName,
			String staffPhone, String staffCarid) {
		this.posit = posit;
		this.staffName = staffName;
		this.staffPhone = staffPhone;
		this.staffCarid = staffCarid;
	}

	/** full constructor */
	public Staff(Posit posit, String staffName,
			String staffPhone, String staffCarid, String staffSex) {
		this.posit = posit;
		this.staffName = staffName;
		this.staffPhone = staffPhone;
		this.staffCarid = staffCarid;
		this.staffSex = staffSex;
	}

	// Property accessors

	public Integer getStaffId() {
		return this.staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public Posit getPosit() {
		return this.posit;
	}

	public void setPosit(Posit posit) {
		this.posit = posit;
	}

	public String getStaffName() {
		return this.staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getStaffPhone() {
		return this.staffPhone;
	}

	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}

	public String getStaffCarid() {
		return this.staffCarid;
	}

	public void setStaffCarid(String staffCarid) {
		this.staffCarid = staffCarid;
	}

	public String getStaffSex() {
		return this.staffSex;
	}

	public void setStaffSex(String staffSex) {
		this.staffSex = staffSex;
	}

	@Override
	public String toString() {
		return "Staff [staffId=" + staffId + ", posit=" + posit + ", staffName=" + staffName + ", staffPhone="
				+ staffPhone + ", staffCarid=" + staffCarid + ", staffSex=" + staffSex + "]";
	}

}